<template>
  <mapComponent :opt="opt"></mapComponent>
</template>

<script>
import mapComponent from '@/components/map/map.vue'
export default {
  components: {
    mapComponent
  },
  data () {
    return {
      opt: {
        latitude: null,
        longitude: null
      }
    }
  },
  onLoad (option) {
    this.opt.latitude = option.lat;
    this.opt.longitude = option.lng;
  }
}
</script>

<style>
</style>
